package com.example.manager.service;

import com.example.manager.domain.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_menu(菜单表)】的数据库操作Service
* @createDate 2024-10-10 16:09:28
*/
public interface SysMenuService extends IService<SysMenu> {

    List<SysMenu> findSysMenus();

    List<SysMenu> findSysMenusByUserId(Integer userId);

    List<SysMenu> findSysMenuTree(Integer parentId);

    List<SysMenu> findSysMenuTreeByUserId(Integer userId, Integer parentId);

    List<SysMenu> findSysMenusTreeNM(Integer parentId);

    List<SysMenu> findBySys_RoleId(Integer roleId);

}
